<?php
$this->breadcrumbs=array(
	'Harga-Harga'=>array('harga/index'),
	'Rata-Rata Harga Produsen per Bulan Sayuran (Rupiah/Kwt)',
);

$this->menu=array(
	array('label'=>'Create', 'url'=>array('create')),
);

/*Yii::app()->clientScript->registerScript('search', "
$('.search-button').click(function(){
	$('.search-form').toggle();
	return false;
});
$('.search-form form').submit(function(){
	$.fn.yiiGridView.update('hargasayuran-grid', {
		data: $(this).serialize()
	});
	return false;
});
");*/
?>

<h1>Rata-Rata Harga Produsen per Bulan Sayuran (Rupiah/Kwt)</h1>

<?php $this->widget('zii.widgets.grid.CGridView', array(
	'id'=>'hargasayuran-grid',
	'dataProvider'=>$model->search(),
	//'filter'=>$model,
	'columns'=>array(
		//'hs_id',
		'hs_bulan',
		'hs_ketimun',
		'hs_kacangpanjang',
		'hs_cabehijau',
		'hs_tomatsayur',
		'hs_buncis',
		'hs_kangkung',
		'hs_tahun',
		array(
			'class'=>'CButtonColumn',
		),
	),
)); ?>
